<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>知识共享平台</title>
    <link rel="stylesheet" href="" th:href="@{/lib/layui/css/layui.css}">
    <script th:src="@{/lib/layui/layui.js}"></script>
</head>
<body>
<div class="layui-side layui-bg-black" th:fragment="left-nav">
    <div class="layui-side-scroll">
        <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
        <ul class="layui-nav layui-nav-tree"  lay-filter="test">
            <li class="layui-nav-item">
                <a class="" href="javascript:;">创作中心</a>
                <dl class="layui-nav-child">
                    <dd><a th:href="@{/article/write}">写文章</a></dd>
                    <dd><a href="javascript:;">写书</a></dd>
                    <dd><a href="javascript:;">书文广场</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item">
                <a href="javascript:;">社交</a>
                <dl class="layui-nav-child">
                    <dd><a href="${ctx}/u/to/register">关注者</a></dd>
                    <dd><a href="${ctx}/u/to/list">查找</a></dd>
                    <dd><a href="${ctx}/u/to/modify">收藏</a></dd>
                </dl>
            </li>


        </ul>
    </div>
</div>
</div>
<script>
    //JavaScript代码区域
    layui.use(['element','form','jquery'], function(){
        var element = layui.element;
        var form = layui.form;
        var $ = layui.jquery;
    });
</script>
</body>
</html>
